﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UtilZ.Dotnet.Ex.Base
{
    /// <summary>
    /// 时间戳单位
    /// </summary>
    public enum TimestampUnit : int
    {
        //秒-毫秒-微秒-纳秒-皮秒 (1000)

        /// <summary>
        /// 天
        /// </summary>
        Day = 1,

        /// <summary>
        /// 小时
        /// </summary>
        Hour = 2,

        /// <summary>
        /// 分钟
        /// </summary>
        Minute = 3,

        /// <summary>
        /// 秒
        /// </summary>
        Second = 4,

        /// <summary>
        /// 毫秒
        /// </summary>
        Millisecond = 5,

        /// <summary>
        /// 微秒
        /// </summary>
        Microsecond = 6,

        /// <summary>
        /// 100纳秒
        /// </summary>
        Nanosecond100 = 7,

        /// <summary>
        /// 纳秒
        /// </summary>
        Nanosecond = 8,

        /// <summary>
        /// 皮秒
        /// </summary>
        Picosecond = 9
    }
}
